package wechat.bean.response.event.menu;

import org.dom4j.DocumentException;

import wechat.bean.response.EventMessageBean;

/**
 * 点击菜单跳转链接
 * Event：  VIEW
 *
 */

public class MenuViewBean extends EventMessageBean {
	private String MenuId;
	
	public MenuViewBean(String str) throws DocumentException {
		super(str);
	}
	
	public MenuViewBean(){
		
	}

	public String getMenuId() {
		return MenuId;
	}

	public void setMenuId(String menuId) {
		MenuId = menuId;
	}
	
	protected static final String Xpath_MenuId = "/xml/MenuId";
	
	public void transform() throws Exception {
		super.transform();
		this.setMenuId(getNodeText(Xpath_MenuId));
	}
}
